import request from '@/utils/request';

export const getVoteInfoList = (data) => {
    return request({
        url: `/vote/voteInfo/list`,
        data,
        method: 'post'
    });
};
export const updateVoteStatus = (data) => {
    return request({
        url: `/vote/voteInfo/updateVoteStatus`,
        data,
        method: 'post'
    });
};
export const findById = (id) => {
    return request({
        url: `vote/voteInfo/${id}`,
        method: 'get'
    });
};